package pet;

class PetShop {
    static Pet[] pets;
    public PetShop(int capacity) {

        pets = new Pet[capacity];
    }

    // 添加宠物
    public void addPet(Pet pet, int index) {
        pets[index] = pet;
    }


}
